|
|
|
|
42
|
return await submit(shoutHash)
|
42
|
return await submit(shoutHash)
|
43
|
}
|
43
|
}
|
44
|
|
44
|
|
45
|
-//After the shout has been written to the blockchain, the hash pointing to the data is sent to the address keeping track of the application's state
|
|
|
|
|
45
|
+//After the shout has been written to the blockchain,
|
|
|
46
|
+//the hash pointing to the data is sent to the address keeping track of the application's state
|
46
|
submit = async (shoutHash: string) => {
|
47
|
submit = async (shoutHash: string) => {
|
47
|
return await xrpio.writeRaw({ data: shoutHash }, shoutboxAddress, userWallet1.secret)
|
48
|
return await xrpio.writeRaw({ data: shoutHash }, shoutboxAddress, userWallet1.secret)
|
48
|
}
|
49
|
}
|