File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI {
287
287
}
288
288
}
289
289
290
- // listAccounts will return a list of addresses for accounts this node manages.
290
+ // ListAccounts will return a list of addresses for accounts this node manages.
291
291
func (s * PrivateAccountAPI ) ListAccounts () []common.Address {
292
292
return s .am .Accounts ()
293
293
}
@@ -1656,7 +1656,7 @@ func (s *PublicTransactionPoolAPI) GetTransactionReceipt(ctx context.Context, ha
1656
1656
fields ["status" ] = hexutil .Uint (receipt .Status )
1657
1657
}
1658
1658
if receipt .Logs == nil {
1659
- fields ["logs" ] = [][] * types.Log {}
1659
+ fields ["logs" ] = []* types.Log {}
1660
1660
}
1661
1661
// If the ContractAddress is 20 0x0 bytes, assume it is not a contract creation
1662
1662
if receipt .ContractAddress != (common.Address {}) {
You can’t perform that action at this time.
0 commit comments