File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -292,19 +292,6 @@ func (tx *Transaction) GetNonce() int64 { return int64(tx.tx.Nonce()) }
292
292
func (tx * Transaction ) GetHash () * Hash { return & Hash {tx .tx .Hash ()} }
293
293
func (tx * Transaction ) GetCost () * BigInt { return & BigInt {tx .tx .Cost ()} }
294
294
295
- // Deprecated: GetSigHash cannot know which signer to use.
296
- func (tx * Transaction ) GetSigHash () * Hash { return & Hash {types.HomesteadSigner {}.Hash (tx .tx )} }
297
-
298
- // Deprecated: use EthereumClient.TransactionSender
299
- func (tx * Transaction ) GetFrom (chainID * BigInt ) (address * Address , _ error ) {
300
- var signer types.Signer = types.HomesteadSigner {}
301
- if chainID != nil {
302
- signer = types .NewEIP155Signer (chainID .bigint )
303
- }
304
- from , err := types .Sender (signer , tx .tx )
305
- return & Address {from }, err
306
- }
307
-
308
295
func (tx * Transaction ) GetTo () * Address {
309
296
if to := tx .tx .To (); to != nil {
310
297
return & Address {* to }
You can’t perform that action at this time.
0 commit comments