We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13830c3 commit 5a73e51Copy full SHA for 5a73e51
1 file changed
internal/txbuilder/txbuilder.go
@@ -128,6 +128,11 @@ func chooseInputUtxos(
128
return nil, errors.New("not enough funds")
129
}
130
utxo := availableUtxos[0]
131
+ // Discard inputs with assets for simplicity
132
+ if utxo.Output.GetValue().HasAssets {
133
+ availableUtxos = availableUtxos[1:]
134
+ continue
135
+ }
136
ret = append(ret, utxo)
137
selectedAmount = selectedAmount.Add(utxo.Output.GetValue())
138
availableUtxos = availableUtxos[1:]
0 commit comments