mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
This commit is contained in:
10
vm/types.go
10
vm/types.go
@@ -10,9 +10,9 @@ const (
|
||||
|
||||
type Account struct {
|
||||
Address Word256
|
||||
Balance uint64
|
||||
Balance int64
|
||||
Code []byte
|
||||
Nonce uint64
|
||||
Nonce int64
|
||||
StorageRoot Word256
|
||||
Other interface{} // For holding all other data.
|
||||
}
|
||||
@@ -26,7 +26,7 @@ type Log struct {
|
||||
Address Word256
|
||||
Topics []Word256
|
||||
Data []byte
|
||||
Height uint64
|
||||
Height int64
|
||||
}
|
||||
|
||||
type AppState interface {
|
||||
@@ -46,8 +46,8 @@ type AppState interface {
|
||||
}
|
||||
|
||||
type Params struct {
|
||||
BlockHeight uint64
|
||||
BlockHeight int64
|
||||
BlockHash Word256
|
||||
BlockTime int64
|
||||
GasLimit uint64
|
||||
GasLimit int64
|
||||
}
|
||||
|
Reference in New Issue
Block a user