Skip to content

Commit 90184aa

Browse files
committed
fix: add totalBalance to address test
1 parent af4ebcd commit 90184aa

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/neuron-wallet/tests/database/address/dao.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ describe('Address Dao tests', () => {
1515
sentBalance: '0',
1616
pendingBalance: '0',
1717
balance: '0',
18+
totalBalance: '0',
1819
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
1920
version: AddressVersion.Testnet,
2021
}
@@ -30,6 +31,7 @@ describe('Address Dao tests', () => {
3031
sentBalance: '0',
3132
pendingBalance: '0',
3233
balance: '0',
34+
totalBalance: '0',
3335
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
3436
version: AddressVersion.Testnet,
3537
}
@@ -45,6 +47,7 @@ describe('Address Dao tests', () => {
4547
sentBalance: '0',
4648
pendingBalance: '0',
4749
balance: '0',
50+
totalBalance: '0',
4851
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
4952
version: AddressVersion.Testnet,
5053
}

packages/neuron-wallet/tests/services/address.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ describe('Key tests with db', () => {
5454
sentBalance: '0',
5555
pendingBalance: '0',
5656
balance: '0',
57+
totalBalance: '0',
5758
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
5859
version: AddressVersion.Testnet,
5960
}
@@ -69,6 +70,7 @@ describe('Key tests with db', () => {
6970
sentBalance: '0',
7071
pendingBalance: '0',
7172
balance: '0',
73+
totalBalance: '0',
7274
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
7375
version: AddressVersion.Testnet,
7476
}
@@ -84,6 +86,7 @@ describe('Key tests with db', () => {
8486
sentBalance: '0',
8587
pendingBalance: '0',
8688
balance: '0',
89+
totalBalance: '0',
8790
blake160: '0x36c329ed630d6ce750712a477543672adab57f4c',
8891
version: AddressVersion.Testnet,
8992
}

0 commit comments

Comments
 (0)