-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello. I encountered an error when sending an asset in the testnet.
Error: State check failed. Reason: Proof doesn't validate as signature for {"type":4,"id":"FTCuRHbhQFeMUgiXtoaJWaDognMKZH9Y8dYrfNRLHsVg","fee":100000,"feeAssetId":null,"timestamp":1717400931013,"version":3,"chainId":84,"sender":"3N2LqzgnbggZuMu1RTVD16hvCbSsVdZZoGu","senderPublicKey":"DRaDgqrpr3Emk6fLaJagwxfnAT2WgRASYb2TgV9H7U8q","proofs":["3SxrdchYUC4anf2DfH54cRXodBFXf5SEf5AWcW3NBb9ynv2mVQvqJW5HZbJvjVPotA7qkXWBKiKvY5L2aHyFbN72"],"recipient":"3Mtv3CEcM1w2a4TBjBdmQFHp79uTu5poCm2","assetId":"BRnDpu9cxB1RLxr34myErX1SCvE6g4Gaotu1fWmMWior","feeAsset":null,"amount":1,"attachment":""}"
I've tried all possible ways. The asset was created by me. Here is the program code:
using WavesLabs.Node.Client;
using WavesLabs.Node.Client.Transactions;
using WavesLabs.Node.Transactions;
using WavesLabs.Node.Transactions.Common;
internal class Program
{
private static void Main(string[] args)
{
var node = new Node("https://nodes-testnet.wavesnodes.com");
var privateKey = "DyzbDCZJxUQuEYJwHLb6uLjDQ7ZzC6iEyPCDnokpBqUW";
Address recipientAddress = new Address("3Mtv3CEcM1w2a4TBjBdmQFHp79uTu5poCm2");
AssetId assetId = new AssetId("BRnDpu9cxB1RLxr34myErX1SCvE6g4Gaotu1fWmMWior");
var senderPrivateKey = new PrivateKey(privateKey);
var tx = TransferTransactionBuilder.Params(recipientAddress, 1, assetId).GetSignedWith(senderPrivateKey);
var transaction = node.Broadcast(tx);
}
}
MariaPaypoint
Metadata
Metadata
Assignees
Labels
No labels