fix: allow EthCall.From to be nil (#9556)

This commit is contained in:
Steven Allen
2022-11-09 19:47:25 +02:00
committed by vyzo
parent b3b9da5bbc
commit 49da019bd0
2 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ func NewEthBlock() EthBlock {
}
type EthCall struct {
From EthAddress `json:"from"`
From *EthAddress `json:"from"`
To *EthAddress `json:"to"`
Gas EthUint64 `json:"gas"`
GasPrice EthBigInt `json:"gasPrice"`