OSDN Git Service

Merge pull request #201 from Bytom/v0.1
[bytom/vapor.git] / account / builder_test.go
index 9583bcc..dbc2655 100644 (file)
@@ -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) {