mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-23 11:27:51 +00:00
Increase receiving_account_info column size from 32 to 128 bytes, to allow for Pirate Chain sapling shielded addresses, which are much longer.
This commit is contained in:
parent
ab01dc5e54
commit
4547386b1f
@ -964,6 +964,12 @@ public class HSQLDBDatabaseUpdates {
|
|||||||
stmt.execute("DROP TABLE ArbitraryPeers");
|
stmt.execute("DROP TABLE ArbitraryPeers");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 42:
|
||||||
|
// Pirate Chain requires storing addresses that are 78 bytes long (69 bytes when decoded), so increase
|
||||||
|
// from 32 to 128 to give some padding for potentially even larger addresses in the future
|
||||||
|
stmt.execute("ALTER TABLE TradeBotStates ALTER COLUMN receiving_account_info SET DATA TYPE VARBINARY(128)");
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// nothing to do
|
// nothing to do
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user