X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=test%2Fwallet_test_util.go;h=9a2a0cc31cde67426b4e3a06acf2c3d5bd2da79a;hp=fa70846359a9c5903716603cab83abc16ab52d4a;hb=2cf5801b2e693a45de9b51ec9aa9c1f787d57105;hpb=0dff3fcf4fbd306176d561d721c1c31e58d90742 diff --git a/test/wallet_test_util.go b/test/wallet_test_util.go index fa708463..9a2a0cc3 100644 --- a/test/wallet_test_util.go +++ b/test/wallet_test_util.go @@ -183,7 +183,7 @@ func (ctx *walletTestContext) createAccount(name string, keys []string, quorum i } func (ctx *walletTestContext) update(block *types.Block) error { - if err := SolveAndUpdate(ctx.Chain, block); err != nil { + if _, err := ctx.Chain.ProcessBlock(block); err != nil { return err } if err := ctx.Wallet.AttachBlock(block); err != nil {