Error validating transaction: Error running script for input 0 referencing 84f19027c9524ad08e34692be66dd5d1bf2836ffb2bc82adb0d8db7d7b7c9823 at 0: Script was NOT verified successfully.. #3595
Unanswered
justresponse
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am an Android developer. When I use the following method to sign, there is no problem, but an error occurs when broadcasting. Below is my signing code:
/**
* formAddress sending address
* toAddress receiving address
* privateKey private key
*Amount transfer amount
* Fee handling fee
* mUtxoList unconsumed utxo collection
* coinType chain type
*/
fun organize(fromAddress: String,
toAddress: String,
privateKey: String,
Amount: String,
Fee: String,
mUtxoList: MutableList<BtcUtxoResultEntity.TxrefsBean>,
coinType: CoinType
): String{
val amount = BigDecimal(Amount).multiply(BigDecimal(100000000)).longValueExact()
val fee = BigDecimal(Fee).multiply(BigDecimal(100000000)).longValueExact()
Hope to get help to solve this problem
Beta Was this translation helpful? Give feedback.
All reactions