X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=account%2Fbuilder_test.go;h=dbc26555e5169aec9f4757a96044597dc1ea899e;hb=b9b4d0f75f4d5844b88e7d3bc33baae6a1e6ec4d;hp=9583bcc0220345c25ffea9d5fc8ac9d88b877b85;hpb=db158dcf09436b003defd333f1a665e7e051d820;p=bytom%2Fvapor.git diff --git a/account/builder_test.go b/account/builder_test.go index 9583bcc0..dbc26555 100644 --- a/account/builder_test.go +++ b/account/builder_test.go @@ -177,7 +177,7 @@ func TestBuildBtmTxChain(t *testing.T) { gotOutput := []uint64{} for _, output := range tpl.Transaction.Outputs { - gotOutput = append(gotOutput, output.Amount/chainTxMergeGas) + gotOutput = append(gotOutput, output.AssetAmount().Amount/chainTxMergeGas) } if !testutil.DeepEqual(c.wantInput[i], gotInput) {