@@ -41,8 +41,8 @@ func TestNewAccount(t *testing.T) {
4141 )
4242 require .NoError (t , err , "unable to create new account" )
4343
44- // The new account should be the first account created, so it should have
45- // an index of 1.
44+ // The new account should be the first account created, so it should
45+ // have an index of 1.
4646 require .Equal (t , uint32 (1 ), account .AccountNumber , "expected account 1" )
4747
4848 // We should be able to retrieve the account by its name.
@@ -251,7 +251,9 @@ func TestGetAccount(t *testing.T) {
251251 require .NoError (t , err )
252252
253253 // We should be able to get the new account.
254- account , err := w .GetAccount (context .Background (), scope , testAccountName )
254+ account , err := w .GetAccount (
255+ context .Background (), scope , testAccountName ,
256+ )
255257 require .NoError (t , err )
256258 require .Equal (t , testAccountName , account .AccountName )
257259 require .Equal (t , uint32 (1 ), account .AccountNumber )
@@ -664,10 +666,13 @@ func TestFetchAccountBalances(t *testing.T) {
664666 // Add UTXOs.
665667 addTestUTXOForBalance (t , w , waddrmgr .KeyScopeBIP0084 , 0 , 100 )
666668 addTestUTXOForBalance (t , w , waddrmgr .KeyScopeBIP0084 , 1 , 200 )
667- addTestUTXOForBalance (t , w , waddrmgr .KeyScopeBIP0049Plus , 1 , 300 )
669+ addTestUTXOForBalance (
670+ t , w , waddrmgr .KeyScopeBIP0049Plus , 1 , 300 ,
671+ )
668672
669673 // Update sync state.
670- err = walletdb .Update (w .db , func (tx walletdb.ReadWriteTx ) error {
674+ err = walletdb .Update (
675+ w .db , func (tx walletdb.ReadWriteTx ) error {
671676 addrmgrNs := tx .ReadWriteBucket (waddrmgrNamespaceKey )
672677 bs := & waddrmgr.BlockStamp {Height : 1 }
673678
@@ -733,7 +738,8 @@ func TestFetchAccountBalances(t *testing.T) {
733738
734739 var balances scopedBalances
735740
736- err := walletdb .View (w .db , func (tx walletdb.ReadTx ) error {
741+ err := walletdb .View (
742+ w .db , func (tx walletdb.ReadTx ) error {
737743 var err error
738744
739745 balances , err = w .fetchAccountBalances (
0 commit comments