Skip to content

Commit 37c0c3a

Browse files
committed
fix(services/ocp): correct action amount for the transfer to use the USDC value
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 2a73d75 commit 37c0c3a

File tree

1 file changed

+1
-1
lines changed
  • services/opencode/src/main/kotlin/com/getcode/opencode/internal/network/api/intents

1 file changed

+1
-1
lines changed

services/opencode/src/main/kotlin/com/getcode/opencode/internal/network/api/intents/IntentTransfer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ internal class IntentTransfer(
4040
val transfer = ActionPublicTransfer.newInstance(
4141
sourceCluster = sourceCluster,
4242
destination = destination,
43-
amount = amount.converted
43+
amount = amount.usdc
4444
)
4545

4646
return IntentTransfer(

0 commit comments

Comments
 (0)