-
Couldn't load subscription status.
- Fork 30
Description
When you create a transaction with Transfer Operation, a hash is generated which is also the transaction id.
This hash generated by the driver, and the hash generated by bigchain db are different.
This request was sent to test net.
Request
{"asset":{"data":"b7349b6c00e077d091959bd37b540289893e6b017838819ee13db92ed7cd1919"},"id":"65e85ce974716a5ed54e124ccf51605576b74cf86ed7c0bb09a812b863f382a2","inputs":[{"fulfillment":"pGSAIM4NkVLNF61l4_6SbQKiKPQJVFARrB3eha205VkB6v9CgUAMujcVmpGm2bDHO8iJDl-pNAP5w96tnUe4u_n4jyTefQMyjrF3b-paf5yQjL8yc8dJNPpP_YrOh3DDtX1-sZkA","fulfills":{"output_index":"0","transaction_id":"b7349b6c00e077d091959bd37b540289893e6b017838819ee13db92ed7cd1919"},"owners_before":["EsLz8izHvmisM4j4KUgcPvcenibzJrsykaW9VxcVjD3o"]}],"metadata":null,"operation":"TRANSFER","outputs":[{"amount":"1","condition":{"details":{"public_key":"AxbvZ3xLPvA4A4raqLd2Xq5MG1KgxY2VKg2rMjiBzyPA","type":"ed25519-sha-256"},"uri":"ni:///sha-256;dSlYz671P2vCftHOtSnk1xKk0X-XCMqVosBPIGXcCgc?fpt=ed25519-sha-256&cost=131072"},"public_keys":["AxbvZ3xLPvA4A4raqLd2Xq5MG1KgxY2VKg2rMjiBzyPA"]}],"version":"2.0"}
Response:
{
"message": "Invalid transaction (InvalidHash): The transaction's id '65e85ce974716a5ed54e124ccf51605576b74cf86ed7c0bb09a812b863f382a2' isn't equal to the hash of its body, i.e. it's not valid.",
"status": 400
}
But create transaction works as expected without issues. Is it possible that something is wrong with the request, but BigchainDB sends a wrong/misleading error message?