• R/O
  • HTTP
  • SSH
  • HTTPS

bytom: コミット

Official Go implementation of the Bytom protocol


コミットメタ情報

リビジョンab6364dd12adbb85e99dc0302d48c1326a176b8b (tree)
日時2019-10-18 12:37:58
作者HAOYUatHZ <37070449+HAOYUatHZ@user...>
コミッターPaladz

ログメッセージ

fix(chain-tx): fix omitempty in estimate_gas resp (#1792)

* fk

* do his mother a ticket

* init EstimateChainTxGas

* add sum up

* update

* fix maybe

* fix

* k

* ???

* ???

* do

* fix ci bug

* rename

* fix

* fix omitempty

変更サマリ

差分

--- a/blockchain/txbuilder/estimate.go
+++ b/blockchain/txbuilder/estimate.go
@@ -26,7 +26,7 @@ type EstimateTxGasInfo struct {
2626 FlexibleNeu int64 `json:"flexible_neu"`
2727 StorageNeu int64 `json:"storage_neu"`
2828 VMNeu int64 `json:"vm_neu"`
29- ChainTxNeu int64 `json:"chain_tx_neu,omitempty"`
29+ ChainTxNeu int64 `json:"chain_tx_neu"`
3030 }
3131
3232 func EstimateChainTxGas(templates []Template) (*EstimateTxGasInfo, error) {
旧リポジトリブラウザで表示