mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
eth/filters: follow camelCase convention
This commit is contained in:
parent
d97a1c6f75
commit
0cc11a6165
1 changed files with 3 additions and 3 deletions
|
|
@ -288,10 +288,10 @@ func (api *PublicFilterAPI) ReturnData(ctx context.Context) (*rpc.Subscription,
|
||||||
} else {
|
} else {
|
||||||
log.Warn(fmt.Sprintf("Received update msg of invalid type %s for ReturnData subscription", reflect.TypeOf(msg).String()))
|
log.Warn(fmt.Sprintf("Received update msg of invalid type %s for ReturnData subscription", reflect.TypeOf(msg).String()))
|
||||||
}
|
}
|
||||||
case retdata := <-retCh:
|
case retData := <-retCh:
|
||||||
if _, has := txListen[retdata.TxHash]; has {
|
if _, has := txListen[retData.TxHash]; has {
|
||||||
// tx from client just completed execution--send back return data
|
// tx from client just completed execution--send back return data
|
||||||
notifier.Notify(rpcSub.ID, retdata)
|
notifier.Notify(rpcSub.ID, retData)
|
||||||
}
|
}
|
||||||
case <-rpcSub.Err():
|
case <-rpcSub.Err():
|
||||||
retSub.Unsubscribe()
|
retSub.Unsubscribe()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue