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 {
287287 }
288288}
289289
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.
291291func (s * PrivateAccountAPI ) ListAccounts () []common.Address {
292292 return s .am .Accounts ()
293293}
@@ -1656,7 +1656,7 @@ func (s *PublicTransactionPoolAPI) GetTransactionReceipt(ctx context.Context, ha
16561656 fields ["status" ] = hexutil .Uint (receipt .Status )
16571657 }
16581658 if receipt .Logs == nil {
1659- fields ["logs" ] = [][] * types.Log {}
1659+ fields ["logs" ] = []* types.Log {}
16601660 }
16611661 // If the ContractAddress is 20 0x0 bytes, assume it is not a contract creation
16621662 if receipt .ContractAddress != (common.Address {}) {
You can’t perform that action at this time.
0 commit comments