Skip to content

Commit 7438d5c

Browse files
committed
rpc: update IgnoreAssetOutPoint to use SendEventSync
1 parent 538c64a commit 7438d5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rpcserver.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4085,7 +4085,9 @@ func (r *rpcServer) IgnoreAssetOutPoint(ctx context.Context,
40854085
ignoreEvent := supplycommit.NewIgnoreEvent{
40864086
SignedIgnoreTuple: signedIgnore,
40874087
}
4088-
err = r.cfg.SupplyCommitManager.SendEvent(ctx, assetSpec, &ignoreEvent)
4088+
err = r.cfg.SupplyCommitManager.SendEventSync(
4089+
ctx, assetSpec, &ignoreEvent,
4090+
)
40894091
if err != nil {
40904092
return nil, fmt.Errorf("failed to upsert ignore tuple: %w", err)
40914093
}

0 commit comments

Comments
 (0)