Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix TS signature in transactionCountOf$
  • Loading branch information
axelchalon committed Dec 18, 2018
commit 35dcaaa1f480f4ee8f7bbd1bf89d90d097a90bc3
2 changes: 1 addition & 1 deletion packages/light.js/src/rpc/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function balanceOf$ (address: Address, options?: RpcObservableOptions) {
* @return - An Observable containing the transaction count.
*/
export function transactionCountOf$ (address: Address, options?: RpcObservableOptions) {
return createRpc$<any, BigNumber | Symbol>({
return createRpc$<any, number | Symbol>({
calls: ['eth_getTransactionCount'],
frequency: [frequency.onEveryBlock$, frequency.onStartup$],
name: 'transactionCountOf$',
Expand Down