Removes event name in unsubscribe API + Tests (#2364) (#2844)

This commit is contained in:
Nicolas Gotchac
2016-10-25 11:43:24 +02:00
committed by Jaco Greeff
parent 9f6da3f829
commit 037a8c7625
5 changed files with 65 additions and 34 deletions

View File

@@ -50,7 +50,7 @@ class TxHash extends Component {
const { api } = this.context;
const { subscriptionId } = this.state;
api.unsubscribe('eth_blockNumber', subscriptionId);
api.unsubscribe(subscriptionId);
}
render () {