Removed the "Get" part

This commit is contained in:
obscuren
2014-08-18 10:17:45 +02:00
parent 793e666f36
commit b0ae61c652
6 changed files with 83 additions and 21 deletions

View File

@@ -41,6 +41,7 @@ type Message struct {
Coinbase []byte
Block []byte
Number *big.Int
Value *big.Int
ChangedAddresses [][]byte
}
@@ -50,5 +51,5 @@ func (self *Message) AddStorageChange(addr []byte) {
}
func (self *Message) String() string {
return fmt.Sprintf("Message{to: %x from: %x input: %x output: %x origin: %x coinbase: %x block: %x number: %v timestamp: %d path: %d", self.To, self.From, self.Input, self.Output, self.Origin, self.Coinbase, self.Block, self.Number, self.Timestamp, self.Path)
return fmt.Sprintf("Message{to: %x from: %x input: %x output: %x origin: %x coinbase: %x block: %x number: %v timestamp: %d path: %d value: %v", self.To, self.From, self.Input, self.Output, self.Origin, self.Coinbase, self.Block, self.Number, self.Timestamp, self.Path, self.Value)
}