diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-03 23:09:21 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-03 23:09:21 +0800 |
commit | 11d90d9b2229917b00459ffbad4b1ff6e3c180a2 (patch) | |
tree | 187751e89b8654f575da00b4ff80fc5fc1813244 /xeth | |
parent | 4558e04c0d35d2d057a7182593e8baaa2d3adec0 (diff) | |
parent | 47feff361113fd4b28f81f7b7094c4662b4e8786 (diff) | |
download | go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar.gz go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar.bz2 go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar.lz go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar.xz go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.tar.zst go-tangerine-11d90d9b2229917b00459ffbad4b1ff6e3c180a2.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index b203e45de..825f26017 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -196,7 +196,7 @@ func (self *XEth) EthTransactionByHash(hash string) (tx *types.Transaction, blha // meta var txExtra struct { BlockHash common.Hash - BlockIndex int64 + BlockIndex uint64 Index uint64 } @@ -205,8 +205,10 @@ func (self *XEth) EthTransactionByHash(hash string) (tx *types.Transaction, blha err := rlp.Decode(r, &txExtra) if err == nil { blhash = txExtra.BlockHash - blnum = big.NewInt(txExtra.BlockIndex) + blnum = big.NewInt(int64(txExtra.BlockIndex)) txi = txExtra.Index + } else { + pipelogger.Errorln(err) } return |