From 0cc11a61650737a435ce77e7faff7654123cd938 Mon Sep 17 00:00:00 2001 From: Domino Valdano Date: Mon, 16 Apr 2018 18:51:51 -0700 Subject: [PATCH] eth/filters: follow camelCase convention --- eth/filters/api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eth/filters/api.go b/eth/filters/api.go index 4a4041bf17..4bea2c5484 100644 --- a/eth/filters/api.go +++ b/eth/filters/api.go @@ -288,10 +288,10 @@ func (api *PublicFilterAPI) ReturnData(ctx context.Context) (*rpc.Subscription, } else { log.Warn(fmt.Sprintf("Received update msg of invalid type %s for ReturnData subscription", reflect.TypeOf(msg).String())) } - case retdata := <-retCh: - if _, has := txListen[retdata.TxHash]; has { + case retData := <-retCh: + if _, has := txListen[retData.TxHash]; has { // tx from client just completed execution--send back return data - notifier.Notify(rpcSub.ID, retdata) + notifier.Notify(rpcSub.ID, retData) } case <-rpcSub.Err(): retSub.Unsubscribe()