Added receipts for tx creation

This commit is contained in:
obscuren
2014-05-02 14:08:54 +02:00
parent e798f221dd
commit 1f6df0cd52
3 changed files with 28 additions and 8 deletions
+4
View File
@@ -59,6 +59,10 @@ func (tx *Transaction) IsContract() bool {
return tx.contractCreation
}
func (tx *Transaction) CreationAddress() []byte {
return tx.Hash()[12:]
}
func (tx *Transaction) Signature(key []byte) []byte {
hash := tx.Hash()