Skip to content

Commit d8c49b0

Browse files
committed
tapdb: unit tests: set missing position fields in transfer outputs
1 parent 6908372 commit d8c49b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tapdb/assets_store_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,7 @@ func TestAssetExportLog(t *testing.T) {
13861386
// The receiver wants a V0 asset version.
13871387
AssetVersion: asset.V0,
13881388
ProofSuffix: receiverBlob,
1389+
Position: 0,
13891390
}, {
13901391
Anchor: tapfreighter.Anchor{
13911392
Value: 1000,
@@ -1420,6 +1421,7 @@ func TestAssetExportLog(t *testing.T) {
14201421
// asset version.
14211422
AssetVersion: asset.V1,
14221423
ProofSuffix: senderBlob,
1424+
Position: 1,
14231425
}},
14241426
}
14251427
require.NoError(t, assetsStore.LogPendingParcel(

0 commit comments

Comments
 (0)