forked from cerc-io/plugeth
Storage at changed to return bytes
This commit is contained in:
parent
088bbc6bb7
commit
740081e2f7
@ -6,7 +6,7 @@ Ethereum
|
|||||||
Ethereum Go Development package (C) Jeffrey Wilcke
|
Ethereum Go Development package (C) Jeffrey Wilcke
|
||||||
|
|
||||||
Ethereum is currently in its testing phase. The current state is "Proof
|
Ethereum is currently in its testing phase. The current state is "Proof
|
||||||
of Concept 0.6.4". For build instructions see the [Wiki](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum(Go)).
|
of Concept 0.6.5". For build instructions see the [Wiki](https://github.com/ethereum/go-ethereum/wiki/Building-Ethereum(Go)).
|
||||||
|
|
||||||
Ethereum Go is split up in several sub packages Please refer to each
|
Ethereum Go is split up in several sub packages Please refer to each
|
||||||
individual package for more information.
|
individual package for more information.
|
||||||
|
@ -99,7 +99,8 @@ func (self *JSPipe) NumberToHuman(balance string) string {
|
|||||||
|
|
||||||
func (self *JSPipe) StorageAt(addr, storageAddr string) string {
|
func (self *JSPipe) StorageAt(addr, storageAddr string) string {
|
||||||
storage := self.World().SafeGet(ethutil.Hex2Bytes(addr)).Storage(ethutil.Hex2Bytes(storageAddr))
|
storage := self.World().SafeGet(ethutil.Hex2Bytes(addr)).Storage(ethutil.Hex2Bytes(storageAddr))
|
||||||
return storage.BigInt().String()
|
|
||||||
|
return ethutil.Bytes2Hex(storage.Bytes())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *JSPipe) TxCountAt(address string) int {
|
func (self *JSPipe) TxCountAt(address string) int {
|
||||||
|
Loading…
Reference in New Issue
Block a user