OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df67cac
)
fix(chain-tx): fix omitempty in estimate_gas resp (#1792)
author
HAOYUatHZ
<37070449+HAOYUatHZ@users.noreply.github.com>
Fri, 18 Oct 2019 03:37:58 +0000
(11:37 +0800)
committer
Paladz
<yzhu101@uottawa.ca>
Fri, 18 Oct 2019 03:37:58 +0000
(11:37 +0800)
* fk
* do his mother a ticket
* init EstimateChainTxGas
* add sum up
* update
* fix maybe
* fix
* k
* ???
* ???
* do
* fix ci bug
* rename
* fix
* fix omitempty
blockchain/txbuilder/estimate.go
patch
|
blob
|
history
diff --git
a/blockchain/txbuilder/estimate.go
b/blockchain/txbuilder/estimate.go
index
091c36d
..
7522b87
100644
(file)
--- a/
blockchain/txbuilder/estimate.go
+++ b/
blockchain/txbuilder/estimate.go
@@
-26,7
+26,7
@@
type EstimateTxGasInfo struct {
FlexibleNeu int64 `json:"flexible_neu"`
StorageNeu int64 `json:"storage_neu"`
VMNeu int64 `json:"vm_neu"`
- ChainTxNeu int64 `json:"chain_tx_neu
,omitempty
"`
+ ChainTxNeu int64 `json:"chain_tx_neu"`
}
func EstimateChainTxGas(templates []Template) (*EstimateTxGasInfo, error) {