forked from Qortal/qortal
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");
|
||||
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:
|
||||
// nothing to do
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user